package com.aibaixun.system.domain.dto;

import com.aibaixun.common.config.ValidGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;


/**
 * 架式设备信息Dto
 * @TableName posture_device
 */
@Data
public class PostureDeviceDto  {
    /**
     * 主键ID
     */
    @NotNull(message = "设备ID不能为空", groups = ValidGroup.Update.class)
    private Long deviceId;
    /**
     * 名称
     */
    @NotBlank(message = "设备名称不能为空", groups = ValidGroup.Add.class)
    private String name;
    /**
     * 机柜编号
     */
    private String cabinetNum;
    /**
     * 型号
     */
    @NotNull(message = "型号不能为空", groups = ValidGroup.Add.class)
    private String model;
    /**
     * 位置
     */
    @NotNull(message = "位置不能为空", groups = ValidGroup.Add.class)
    private Integer location;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**+
     * 微魔方编号
     */
    private String wmfNo;
    /**
     * 微魔方层数
     */
    private String wmfFloor;

    /**
     * ue关联信息
     */
    private String ueRelation;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * U高
     */
    @NotNull(message = "U高不能为空", groups = ValidGroup.Add.class)
    private Integer height;

    /**
     * 关联ueid
     */
    private String cabinetUeId;

    /**
     * 关联机柜addressId
     */
    @NotBlank(message = "机柜addressId不能为空", groups = ValidGroup.Add.class)
    private String cabinetAddressId;

    /**
     * 机柜ueId
     */
    private String cabinetUeid;

}
